package com.xlh.dao.courseTest;

import com.xlh.pojo.courseTest.CourseQuestionRepositoryDetails;
import com.xlh.pojo.courseTest.CourseQuestionRepositoryDetailsExample;
import com.xlh.pojo.courseTest.CourseTestPaperAnswer;

import java.util.List;

/**
 * @author zhr 2019/2/14
 */
public interface CourseQuestionRepositoryDetailsMapperExt {
    List<CourseQuestionRepositoryDetails> selectQuestionRepositoryIdAndContentAndIsCorrectByExample(CourseQuestionRepositoryDetailsExample courseQuestionRepositoryDetailsExample);

    void insertBatch(List<CourseQuestionRepositoryDetails> detailsList);

    Long selectMaxId();

    List<CourseTestPaperAnswer> selectPaperAnswerByExample(CourseQuestionRepositoryDetailsExample example);

    void clean();
}
